Skip to content

[GR-82013] Mark module namespaces as shared. - #1337

Merged
graalvmbot merged 1 commit into
masterfrom
fniephaus/GR-82013/shared-module-namespaces
Nov 24, 2026
Merged

graalvmbot merged 1 commit into
masterfrom
fniephaus/GR-82013/shared-module-namespaces

Conversation

@graalvmbot

Copy link
Copy Markdown
Collaborator

🤖 Marks GraalPy module namespaces as shared so Truffle can update a global’s storage when its type changes without replaying subsequent shape transitions.

With this change, import pymupdf fell from 16.3 s to 1.95 s. Rebinding a global in a module with 8,000 globals fell from 510 µs to 2.1 µs, with no measured slowdown in global reads.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 24, 2026
@graalvmbot
graalvmbot merged commit 312315d into master Nov 24, 2026
12 of 17 checks passed
@graalvmbot
graalvmbot deleted the fniephaus/GR-82013/shared-module-namespaces branch November 24, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants